<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>简易jQuery</title>
</head>

<body>
    <div id="main">main</div>
    <ul>
        <li>123</li>
        <li>456</li>
        <li>789</li>
        <li>000</li>
    </ul>
    <p>p1</p>
    <p>p2</p>
    <p>p3</p>

</body>
<script src="myJQ.js"></script>
<script type="text/javascript">
    // console.log($("li"))

    // $("#main").css().html()
    // $("#main").css("background", "red").html()
    // console.log($("#main").css("background"))

    // console.log($("ul li").first())
    // $("ul li").first().css("background","red")
    // $("ul li").last().css("background","red")
    // $("ul li").eq(2).css("background","red")
    // $my.sayHi()




</script>

</html>